package com.pureut.equipment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pureut.equipment.domain.InspectionWorkOrder;
import com.pureut.equipment.domain.dto.InspectionWorkOrderDto;
import com.pureut.equipment.domain.vo.InspectionWorkOrderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/***
 *
 * Author:点检工单mapper
 * Date:2023/04/25 13:13
 * @DESC
 */
@Mapper
public interface InspectionWorkOrderMapper extends BaseMapper<InspectionWorkOrder> {

    /**
     * 点检工单列表
     */
    Page<InspectionWorkOrderDto> getList(@Param("inspectionWorkOrderVo") InspectionWorkOrderVo inspectionWorkOrderVo, @Param("page") Page<InspectionWorkOrderDto> page);

    /**
     * 根据id获取数据
     */
    InspectionWorkOrderDto getInspectionOrderById(Long id);
}
